import { ComponentRef, ViewContainerRef } from '@angular/core';
import {
    ContentConfig
} from '@shared/service-proxies/service-proxies';
import { IContentBaseComponent } from '../content/IContentBaseComponent';

export interface IContent2DetailComponent  extends IContentBaseComponent{

    vc: ViewContainerRef;
    cmpRef: ComponentRef<any>;

    isLoading: boolean;

    dataSynchronous: boolean;

    saving: boolean;
    canSave: boolean;

    kind: number;
    customKey: string;
    relateId: string;

    id: string;
    randomId: string;
    isTemporary: boolean;

    isModal: boolean;

    permissionDic: { [key: string]: boolean };

    pageConfig: ContentConfig;

    goToNewPage();

    data: { [key: string]: any };
}
